package com.hc.model.code04.test4;

/**
 * @version v1.0
 * @ClassName: GroupLeader
 * @Description: 组长（具体处理者）
 * @Author: HC
 */
public class GroupLeader extends Handler {

    public GroupLeader() {
        super(0, Handler.NUM_ONE);
    }

    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天，原因：" + leave.getContext());
        System.out.println("小组长审批：同意");
    }
}
